package cn.itcast.config;

import cn.itcast.domain.Car;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
public class CarConfig {

    @Bean
    public Car car(){
        return new Car();
    }


}
